<?php

include ("include/config.php");
stemplate::assign("_page_title", "Contact Us");


require($config['basedir']."/classes/category.class.php");
$post = $_REQUEST;
$obj_cat = new Category();

$_action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'view';

stemplate::assign("post", $post);
switch($_action) {

	case 'saveContactus':
		$obj_cat->sendContactUs($post);
   	break;
	
	case 'view':
	default:
  		stemplate::display("contact-us.tpl");
     break; 

}




?>